package com.yuyou.fn.portal.vo;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/4/14.
 */
public class OuterOrderDetail {

    /*给订单信息使用，订单状态*/
    @ApiModelProperty("订单状态")
    private int  chargingStatus;
    /*订单总额*/
    @ApiModelProperty("订单总额")
    private BigDecimal totalAmount;

    @ApiModelProperty("订单应付总额")
    private BigDecimal payableAmount;

    @ApiModelProperty("订单已付金额")
    private BigDecimal paidAmount;

    @ApiModelProperty("账户余额支付金额")
    private BigDecimal payAmountOfBalance ;
    /*订单id*/
    @ApiModelProperty("订单id")
    private Long outerOrderId;

    @ApiModelProperty("订单创建时间")
    private Date createTime;

    @ApiModelProperty("0 :普通课程订单，1：众筹课程预定订单，2:众筹课程补差额订单")
    private Integer orderType;


    @ApiModelProperty("订单创建时间")
    private Date updateTime;

    @ApiModelProperty("优惠详情")
    private String discountReason;


    private List<ClassInfoVo> classInfoList ;

    public BigDecimal getPayAmountOfBalance() {
        return payAmountOfBalance;
    }

    public void setPayAmountOfBalance(BigDecimal payAmountOfBalance) {
        this.payAmountOfBalance = payAmountOfBalance;
    }

    public String getDiscountReason() {
        return discountReason;
    }

    public void setDiscountReason(String discountReason) {
        this.discountReason = discountReason;
    }

    public int getChargingStatus() {
        return chargingStatus;
    }

    public void setChargingStatus(int chargingStatus) {
        this.chargingStatus = chargingStatus;
    }


    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Long getOuterOrderId() {
        return outerOrderId;
    }

    public void setOuterOrderId(Long outerOrderId) {
        this.outerOrderId = outerOrderId;
    }

    public List<ClassInfoVo> getClassInfoList() {
        return classInfoList;
    }

    public void setClassInfoList(List<ClassInfoVo> classInfoList) {
        this.classInfoList = classInfoList;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public BigDecimal getPayableAmount() {
        return payableAmount;
    }

    public void setPayableAmount(BigDecimal payableAmount) {
        this.payableAmount = payableAmount;
    }

    public BigDecimal getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(BigDecimal paidAmount) {
        this.paidAmount = paidAmount;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }




}
